<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
	</head>
	<style>
		*{
			margin:0;
			padding:0;
		}
	</style>
	<body>
	</body>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/4.5.1/pixi.min.js"></script>
	<script type="text/javascript">
		
		var app = new PIXI.Application(innerWidth, 600, { backgroundColor: 0x1099bb });
		document.body.appendChild(app.view);

		// create a new Sprite from an image path
		var bunny = PIXI.Sprite.fromImage('img/high.png')

		// center the sprite's anchor point
		bunny.anchor.set(1.5);

		// move the sprite to the center of the screen
		bunny.x = app.screen.width / 2;
		bunny.y = app.screen.height / 2;

		app.stage.addChild(bunny);

		// Listen for animate update
		app.ticker.add(function(delta) {
			// just for fun, let's rotate mr rabbit a little
			// delta is 1 if running at 100% performance
			// creates frame-independent tranformation
			bunny.rotation += 10 * delta;
		});
	</script>

</html>